package com.junxonline.plat.service.personnel;

import com.junxonline.plat.dao.vo.HouseholdVO;
import com.junxonline.plat.dao.vo.PageVO;
import com.junxonline.plat.dao.vo.QueryHouseholdVO;

public interface PersonnelService {

    /**
     * 获取人员数据
     * @param vo
     * @return
     */
    HouseholdVO getHousehold(QueryHouseholdVO vo);

    /**
     * 筛选查询人员
     * @param page
     * @param vo
     * @return
     */
    PageVO queryHousehold(PageVO page, QueryHouseholdVO vo);

    /**
     * 添加人员
     * @param vo
     * @return
     */
    boolean addHousehold(HouseholdVO vo);

    /**
     * 修改人员
     * @param vo
     * @return
     */
    boolean editHousehold(HouseholdVO vo);

    /**
     * 删除人员
     * @param householdIds
     * @return
     */
    boolean delHousehold(Long[] householdIds);

}
